github.com/gotd/td/mtproto.badMessageError.Code (field)
9 uses
github.com/gotd/td/mtproto (current package)
bind.go#L138: if err != nil && errors.As(err, &badMsgErr) && badMsgErr.Code == codeIncorrectServerSalt {
handle_bad_msg.go#L16: Code int
handle_bad_msg.go#L39: }[c.Code]
handle_bad_msg.go#L41: return fmt.Sprintf("bad msg error code %d", c.Code)
handle_bad_msg.go#L74: c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
handle_bad_msg.go#L82: c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
rpc.go#L64: switch bad.Code {
rpc.go#L66: return bad.Code, true
rpc.go#L106: if errors.As(err, &badMsgErr) && badMsgErr.Code == codeIncorrectServerSalt {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |